# -*- coding: UTF-8 -*-


# 这个文件用一系列变量来存储一系列配置信息
TMP_DIR = "/Users/zhendu/study/OSChina/DCLib_driver/tmp/"

# 翻译器的位置
TRANSLATER_LOCATION = "/Users/zhendu/study/OSChina/paral-py/main"
TRANSLATER_DIR = "/Users/zhendu/study/OSChina/paral-py/"

# 执行本地的Mapreduce
LOCAL_MR = True

# 使用HDFS
USE_HDFS = False
# https://www.jianshu.com/p/e768ab139842
# k8s访问HDFS的默认地址
HDFS_DEFAULT_IP = "127.0.0.1"
# k8s访问HDFS的默认端口
HDFS_DEFAULT_PORT = "32007"
# MR的master的pod的默认名称
MR_MASTER_POD_DEFAULT_NAME = "yarn-master"
# HDFS的master的pod的默认名称
HDFS_MASTER_POD_DEFAULT_NAME = "hdfs-master"
# 默认MR环境的yaml文件
DEFAULT_MR_K8S_YAML = "/Users/zhendu/Downloads/hadoop.yaml"
# HDFS的默认存储路径
DEFAULT_HDFS_TMP = "/user/root/"
# 在容器中streaming的jar包位置
STREAMING_JAR_LOCATION_IN_CONRAINER = "/usr/local/hadoop/share/hadoop/tools/lib/hadoop-streaming-2.7.2.jar"
